<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		
		<form action="/upload-api" method="post" enctype="multipart/form-data">
			
			<!--type=file,上传文件。accept属性规定上传的文件类型。-->
			<input type="file" name="header" id="header" accept=".jpg,.jpeg" required/>
			
			<br/>
			<input type="submit" value="上传"/>
			
		</form>
		
		
	</body>
</html>
